package pl.edu.agh.se.carsexpertsystem.fact;

public class DifficultTerrainFact implements Fact {

	private TerrainType mostFrequentlyEncounteredTerrainType;

	public TerrainType getMostFrequentlyEncounteredTerrainType() {
		return mostFrequentlyEncounteredTerrainType;
	}

	public void setMostFrequentlyEncounteredTerrainType(
			TerrainType mostFrequentlyEncounteredTerrainType) {
		this.mostFrequentlyEncounteredTerrainType = mostFrequentlyEncounteredTerrainType;
	}

	public enum TerrainType {
		CITY_ROAD("Drogi asfaltowe"),
		COUNTRY_ROAD("Drogi wiejskie"),
		OFFROAD("Offroad");

		private String name;
		private TerrainType(String name) {
			this.name = name;
		}

		@Override
		public String toString() {
			return name;
		}
	}
}
